package com.timmy.google_play.bean;

import java.util.List;

/**
 * Created by Timmy on 2016/12/10.
 */

public class ItemBean {

    public String name;
    public String packageName;
    public String iconUrl;
    public long   id;
    public float  stars;
    public long   size;
    public String downloadUrl;
    public String des;

    //-------------------- 详情页面的额外字段
    public String author;//黑马程序员
    public String date;//2015-06-10
    public String downloadNum;//40万+
    public String version;//	1.1.0605.0

    public List<SafeBean> safe;//Array
    public List<String>   screen;//Array

    public class SafeBean {
        public String safeDes;//已通过安智市场安全检测，请放心使用
        public int    safeDesColor;//	0
        public String safeDesUrl;//app/com.itheima.www/safeDesUrl0.jpg
        public String safeUrl;//app/com.itheima.www/safeIcon0.jpg

        @Override
        public String toString() {
            return "SafeBean{" +
                    "safeDes='" + safeDes + '\'' +
                    ", safeDesColor=" + safeDesColor +
                    ", safeDesUrl='" + safeDesUrl + '\'' +
                    ", safeUrl='" + safeUrl + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "ItemBean{" +
                "des='" + des + '\'' +
                ", size=" + size +
                ", name='" + name + '\'' +
                ", downloadUrl='" + downloadUrl + '\'' +
                ", id=" + id +
                ", packageName='" + packageName + '\'' +
                ", iconUrl='" + iconUrl + '\'' +
                ", stars=" + stars +
                ", author='" + author + '\'' +
                ", date='" + date + '\'' +
                ", downloadNum='" + downloadNum + '\'' +
                ", version='" + version + '\'' +
                ", safe=" + safe +
                ", screen=" + screen +
                '}';
    }

}
